﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 产品规格表
/// </summary>
public partial class ProductSpec
{
    /// <summary>
    /// 规格ID，主键
    /// </summary>
    public string PsId { get; set; } = null!;

    /// <summary>
    /// 产品ID，关联产品表
    /// </summary>
    public string? PsProductId { get; set; }

    /// <summary>
    /// 规格名称（如颜色、尺寸等）
    /// </summary>
    public string? PsName { get; set; }

    /// <summary>
    /// 该规格的售价
    /// </summary>
    public double? PsPrice { get; set; }

    /// <summary>
    /// 规格排序
    /// </summary>
    public int? PsSort { get; set; }

    /// <summary>
    /// 是否禁用：1-禁用，0-启用
    /// </summary>
    public int? PsIsBan { get; set; }

    /// <summary>
    /// 规格备注信息
    /// </summary>
    public string? PsRemark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? PsCreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? PsUpdateTime { get; set; }
}
